package com.zsc.spring.study.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MainConfigOfAop {

    @Bean
    public Calculater calculater(){
        return new Calculater();
    }

    @Bean
    public LogAspect logAspect(){
        return new LogAspect();
    }
}
